home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan
/
Opus 5 - Magellan.iso
/
Extras
/
DDC
/
DoubleClick.dopus5
< prev
Wrap
Text File
|
1997-02-16
|
578b
|
38 lines
/*
$VER: DOpusDoubleClick 1.0 (15.02.97)
AmigaDOS and ARexx script to similate DOpus Double Click from CLI.
©1997 Robert Wilson
*/
addlib('rexxtricks.library',0,-30,0)
address DOPUS.1
options results
dir = GETENV('currentdir')
name = GETENV('filename')
checkdir = PATHPART(fn)
path = MAKEPATH(dir,name)
if name = "" then do
SAY 'required argument (filename) missing'
exit
end
if dir = checkdir then do
command doubleclick name
UNSETENV('currentdir')
UNSETENV('filename')
exit
end
command doubleclick path
UNSETENV('currentdir')
UNSETENV('filename')
exit